﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraBars;
using DevExpress.XtraEditors;
using DevExpress.XtraWizard;
using GameDevelopHelper.Module;

namespace GameDevelopHelper
{
    public partial class RibbonMain : XtraForm
    {
        /// <summary>
        /// 向导首页实例
        /// </summary>
        private UserWizardPage wizardPageInstance;

        public RibbonMain()
        {
            InitializeComponent();
        }

        private Button button = new Button();
        private void RibbonMain_Load(object sender, EventArgs e)
        {
            //实例化控件
            wizardPageInstance = new UserWizardPage();
            InitTab();
        }

        /// <summary>
        /// 初始化TAB页
        /// </summary>
        private void InitTab()
        {
            //添加欢迎页面
            DevExpress.XtraTab.XtraTabPage tabPageWelcome = MainTabControl.TabPages.Add("首页");
            tabPageWelcome.Controls.Add(wizardPageInstance);
        }

        
        private void RibbonMain_Shown(object sender, EventArgs e)
        {

        }

    }
}